<template>
	<view class="page">
		<Navbar :title="title"></Navbar>
		<view>
			<view class="u-flex u-col-top u-margin-bottom-30 home-content" v-for="item in dataList" :key="item.Id"
				@click="link_to_page('/pages-home/pages/notice/detail?id=' + item.Id)">
				<view class="u-flex-1 u-padding-22">
					<view class="u-font-28 u-font-w-6 u-padding-bottom-10 u-line-1">
						{{ item.Title||'' }}
					</view>
					<view class="u-font-24 u-line-3" style="color: #636363;">{{ item.Content||'' }}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type: 1,
				title: '招聘信息',
				dataList: []
			};
		},
		onLoad(e) {
			uni.showLoading({
				title: '数据加载中',
				mask: true
			});
			var panams = {
				filter: '',
				page: 1,
				rows: 60,
				Status: 1
			}
			this.$u.api.PutStatusIssued(panams).then(res => {
				if (res && res.code == 0) {
					var data = [];
					this.dataList = res.data;
				}
				uni.hideLoading();
			});
		},
		methods: {}
	};
</script>

<style lang="scss" scoped>
	.page {
		padding: 20rpx;
		background-color: #f4f5f7;
	}

	.home-content {
		min-height: 150rpx;
		position: relative;
		border-radius: 16rpx;
		background-color: #fff;
		overflow: hidden;
	}
</style>